<template>
  <div>
    <div>
      <img :src="imgurl" alt="" />
      <p>{{ name }}</p>
    </div>
  </div>
</template>

<script>
export default {
  props: ["imgurl", "name"],
};
</script>

<style scoped>
div {
  display: inline-block;
  text-align: center;

  border: 1px solid #000;
}
img {
  width: 400px;
  height: 300px;
}
</style>